import { CommentEntity } from '@/entities/CommentEntity';
import HouseCommentApi from '@/api/HouseCommentApi';

export default class HouseCommentBusiness {
  static addComment(data: CommentEntity.IAddComment) {
    return HouseCommentApi.addComment(data);
  }

  static getCommentByTenantId(tenantId: number) {
    return HouseCommentApi.getCommentByTenantId(tenantId);
  }

  static getCommentByHouseId(houseId: number) {
    return HouseCommentApi.getCommentByHouseId(houseId);
  }
}